package com.dom.invoapp.dao.entity;

import com.baomidou.mybatisplus.enums.IdType;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.annotations.Version;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotations.Version;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * B_菜单信息表
 * </p>
 *
 * @author xllei
 * @since 2018-11-17
 */
@Data
@Accessors(chain = true)
@TableName("t_menu_info")
public class TMenuInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    /**
     * 菜单id
     */
    @TableField("menu_id")
    private Integer menuId;
    /**
     * 菜单名称
     */
    @TableField("menu_name")
    private String menuName;
    /**
     * 菜单url
     */
    @TableField("menu_url")
    private String menuUrl;
    /**
     * 菜单类型
     */
    @TableField("menu_type")
    private Integer menuType;
    /**
     * 菜单描述
     */
    @TableField("menu_desc")
    private String menuDesc;
    /**
     * 上级菜单id
     */
    @TableField("father_menu_id")
    private Integer fatherMenuId;
    @Version
    private Integer version;


}
